package com.ycc.springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ycc.springcloud.pojo.OrderList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: ycc
 * @Date: 2021/6/27 10:30
 */
@Mapper
public interface OrderListMapper extends BaseMapper<OrderList> {
    @Select("select * from orderlist where username like #{username}")
    public List<OrderList> selectAllByUsername(String username);
}
